package com.liancheng.smarthome.bean.module;

import com.httpapi.BaseResultEntity;

import java.util.List;

/**
 * 报警列表数据
 */
public class AlarmListVMBean extends BaseResultEntity<AlarmListVMBean> {

    /**
     * data : {"endRow":1,"firstPage":1,"hasNextPage":true,"hasPreviousPage":false,"isFirstPage":true,"isLastPage":false,"lastPage":8,"list":[{"alarmId":"675286509410058240","alarmMsg":"电机频率超出上限","alarmTime":1580958738000,"alarmType":null,"alarmValue":null,"boxSn":null,"createTime":null,"customerId":null,"customerName":null,"deviceId":null,"deviceName":"设备123","devicePointId":null,"devicePointName":null,"ifDelete":null,"productId":null,"productModel":null,"projectId":null,"projectName":null,"status":0,"subsidiaryId":null,"subsidiaryName":null,"updateTime":null}],"navigateFirstPage":1,"navigateLastPage":8,"navigatePages":8,"navigatepageNums":[1,2,3,4,5,6,7,8],"nextPage":2,"pageNum":1,"pageSize":1,"pages":65,"prePage":0,"size":1,"startRow":1,"total":65}
     * message : 查询成功!
     * messageKey :
     * status : 200
     */

        /**
         * endRow : 1
         * firstPage : 1
         * hasNextPage : true
         * hasPreviousPage : false
         * isFirstPage : true
         * isLastPage : false
         * lastPage : 8
         * list : [{"alarmId":"675286509410058240","alarmMsg":"电机频率超出上限","alarmTime":1580958738000,"alarmType":null,"alarmValue":null,"boxSn":null,"createTime":null,"customerId":null,"customerName":null,"deviceId":null,"deviceName":"设备123","devicePointId":null,"devicePointName":null,"ifDelete":null,"productId":null,"productModel":null,"projectId":null,"projectName":null,"status":0,"subsidiaryId":null,"subsidiaryName":null,"updateTime":null}]
         * navigateFirstPage : 1
         * navigateLastPage : 8
         * navigatePages : 8
         * navigatepageNums : [1,2,3,4,5,6,7,8]
         * nextPage : 2
         * pageNum : 1
         * pageSize : 1
         * pages : 65
         * prePage : 0
         * size : 1
         * startRow : 1
         * total : 65
         */

        private int endRow;
        private int firstPage;
        private boolean hasNextPage;
        private boolean hasPreviousPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private int lastPage;
        private int navigateFirstPage;
        private int navigateLastPage;
        private int navigatePages;
        private int nextPage;
        private int pageNum;
        private int pageSize;
        private int pages;
        private int prePage;
        private int size;
        private int startRow;
        private int total;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public int getNavigateFirstPage() {
            return navigateFirstPage;
        }

        public void setNavigateFirstPage(int navigateFirstPage) {
            this.navigateFirstPage = navigateFirstPage;
        }

        public int getNavigateLastPage() {
            return navigateLastPage;
        }

        public void setNavigateLastPage(int navigateLastPage) {
            this.navigateLastPage = navigateLastPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * alarmId : 675286509410058240
             * alarmMsg : 电机频率超出上限
             * alarmTime : 1580958738000
             * alarmType : null
             * alarmValue : null
             * boxSn : null
             * createTime : null
             * customerId : null
             * customerName : null
             * deviceId : null
             * deviceName : 设备123
             * devicePointId : null
             * devicePointName : null
             * ifDelete : null
             * productId : null
             * productModel : null
             * projectId : null
             * projectName : null
             * status : 0
             * subsidiaryId : null
             * subsidiaryName : null
             * updateTime : null
             *
             * alarmId	报警ID	String
             * alarmMsg	报警内容	String
             * alarmTime	报警时间	Long
             * alarmType	报警类型	short	1 上限报警 2 下限报警
             * alarmValue	报警值	String
             * boxSn	设备序列号	String
             * customerName	客户名称	String
             * deviceName	设备名称	String
             * devicePointName	点位名称	String
             * productModel	产品分类名称	String
             * projectName	项目名称	String
             * status	状态	Short	0 未读 1 已读
             * subsidiaryName	分公司名称	String
             */

            private String alarmId;
            private String alarmMsg;
            private long alarmTime;
            private String alarmType;
            private String alarmValue;
            private String boxSn;
            private String createTime;
            private String customerId;
            private String customerName;
            private String deviceId;
            private String deviceName;
            private String devicePointId;
            private String devicePointName;
            private String ifDelete;
            private String productId;
            private String productModel;
            private String projectId;
            private String projectName;
            private int status;
            private String subsidiaryId;
            private String subsidiaryName;
            private String updateTime;

            public String getAlarmId() {
                return alarmId;
            }

            public void setAlarmId(String alarmId) {
                this.alarmId = alarmId;
            }

            public String getAlarmMsg() {
                return alarmMsg;
            }

            public void setAlarmMsg(String alarmMsg) {
                this.alarmMsg = alarmMsg;
            }

            public long getAlarmTime() {
                return alarmTime;
            }

            public void setAlarmTime(long alarmTime) {
                this.alarmTime = alarmTime;
            }

            public String getAlarmType() {
                return alarmType;
            }

            public void setAlarmType(String alarmType) {
                this.alarmType = alarmType;
            }

            public String getAlarmValue() {
                return alarmValue;
            }

            public void setAlarmValue(String alarmValue) {
                this.alarmValue = alarmValue;
            }

            public String getBoxSn() {
                return boxSn;
            }

            public void setBoxSn(String boxSn) {
                this.boxSn = boxSn;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getCustomerId() {
                return customerId;
            }

            public void setCustomerId(String customerId) {
                this.customerId = customerId;
            }

            public String getCustomerName() {
                return customerName;
            }

            public void setCustomerName(String customerName) {
                this.customerName = customerName;
            }

            public String getDeviceId() {
                return deviceId;
            }

            public void setDeviceId(String deviceId) {
                this.deviceId = deviceId;
            }

            public String getDeviceName() {
                return deviceName;
            }

            public void setDeviceName(String deviceName) {
                this.deviceName = deviceName;
            }

            public String getDevicePointId() {
                return devicePointId;
            }

            public void setDevicePointId(String devicePointId) {
                this.devicePointId = devicePointId;
            }

            public String getDevicePointName() {
                return devicePointName;
            }

            public void setDevicePointName(String devicePointName) {
                this.devicePointName = devicePointName;
            }

            public String getIfDelete() {
                return ifDelete;
            }

            public void setIfDelete(String ifDelete) {
                this.ifDelete = ifDelete;
            }

            public String getProductId() {
                return productId;
            }

            public void setProductId(String productId) {
                this.productId = productId;
            }

            public String getProductModel() {
                return productModel;
            }

            public void setProductModel(String productModel) {
                this.productModel = productModel;
            }

            public String getProjectId() {
                return projectId;
            }

            public void setProjectId(String projectId) {
                this.projectId = projectId;
            }

            public String getProjectName() {
                return projectName;
            }

            public void setProjectName(String projectName) {
                this.projectName = projectName;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getSubsidiaryId() {
                return subsidiaryId;
            }

            public void setSubsidiaryId(String subsidiaryId) {
                this.subsidiaryId = subsidiaryId;
            }

            public String getSubsidiaryName() {
                return subsidiaryName;
            }

            public void setSubsidiaryName(String subsidiaryName) {
                this.subsidiaryName = subsidiaryName;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }
        }
}
